package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.LabelAreaModel;
import com.ruoyi.system.mapper.LabelAreaMapper;
import com.ruoyi.system.service.LabelAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：Wangziyi
 * @date ：Created in 2023/12/12 16:13
 * @description：ToDo
 * @modified By：
 * @version: 1.0
 */
@Service
public class LabelAreaServiceImpl extends ServiceImpl<LabelAreaMapper, LabelAreaModel> implements LabelAreaService {
    @Autowired
    private LabelAreaMapper labelAreaMapper;
    @Override
    public Integer updateLabelArea(double lon, double lat, int scaleLevel, String labelAreaName) {
        return labelAreaMapper.updateLabelArea(lon, lat, scaleLevel, labelAreaName);
    }
}
